
// <copyright file="RecordExecutionFlowAttribute.cs" company="Subhadra Software Solutions">
//   
// </copyright>
// <summary>
//   The record execution flow attribute.
// </summary>

namespace SubhadraSolutions.Sharp.Utils.Diagnostics.Performance
{
    using System;

    /// <summary>
    /// The record execution flow attribute.
    /// </summary>
    [AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly, Inherited = false, AllowMultiple = false)]
    public sealed class RecordExecutionFlowAttribute : Attribute
    {
        #region Constructors and Finalizers

        /// <summary>
        /// Initializes a new instance of the <see cref="RecordExecutionFlowAttribute"/> class.
        /// </summary>
        /// <param name="ignoreArguments">
        /// The ignore arguments.
        /// </param>
        public RecordExecutionFlowAttribute(bool ignoreArguments)
        {
            this.IgnoreArguments = ignoreArguments;
        }

        #endregion Constructors and Finalizers

        #region Public Properties

        /// <summary>
        /// Gets a value indicating whether ignore arguments.
        /// </summary>
        public bool IgnoreArguments { get; private set; }

        #endregion Public Properties
    }
}
